package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 水浒卡组合奖励兑换日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_activity_shuihu_comb", desc = "水浒卡组合奖励兑换日志", autoSave = true, uploadCk = true)
public class LogShuiHuComb extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "组合ID")
    private int combId;
    @FieldTypeAnnotation(desc = "兑换次数")
    private int times;

    public LogShuiHuComb(long userId, int activityId, int combId, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.combId = combId;
        this.times = times;
    }

    public long getUserId() {
        return userId;
    }
}
